package com.us.manage.dao;

import java.util.List;

import com.us.manage.pojo.Manage;

public interface IManageDAO {

	public Manage getAdminInfo(Manage manage) throws RuntimeException;

	@SuppressWarnings("unchecked")
	public List getAdminList(String page) throws RuntimeException;

	@SuppressWarnings("unchecked")
	public List getAdminList() throws RuntimeException;

	public void addAdmin(Manage manage)throws RuntimeException;

	public void delAdmin(int admin_id);

	public boolean adminRepeat(String admin_name);

	public Manage getAdminByid(int admin_id);

	public void updateAdminRoe(Manage manage);

	public void updateAdminpsw(Manage manage);


}
